//
//  PublicNoticeMineCell.m
//  New_Runway
//
//  Created by mack on 2018/2/5.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import "PublicNoticeMineCell.h"
@interface PublicNoticeMineCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImage;
@property (weak, nonatomic) IBOutlet UILabel *titleL;
@property (weak, nonatomic) IBOutlet UILabel *contentL;
@property (weak, nonatomic) IBOutlet UILabel *timeL;

@end
@implementation PublicNoticeMineCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setNotieModel:(NRWCarHomeNoticeModel *)notieModel{
    _notieModel = notieModel;
    self.contentL.text = notieModel.noticeTitle;
    self.timeL.text = [NRWCarTurnTime timestampSwitchTime:[notieModel.noticeStartTime integerValue] andFormatter:@"YYYY-MM-dd"];
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
